<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="../../../js学习/jquery-1.5.2.min.js"></script>
<script language="javascript">
	$(function(){
		$("div").hover(function(){
			 $(this).animate({
				filter:"Alpha(opacity=80)",
				opacity:"0.8"	 
		     });
		},function(){
			 $(this).animate({
				filter:"Alpha(opacity=20)",
				opacity:"0.2" 
		     })
		});
	});
	for(var  i = 0;i<5;i++){
		if(i==3) debugger;
		console.log(i);
	}
</script>
<title>无标题文档</title>
</head>

<body>
	<div style=" width:300px; height:400px; margin:100px; border:1px solid #ddd; background-color: #000; filter:Alpha(opacity=20);"></div>
</body>
</html>
